package com.zfei.gfb.api.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * 统计标签
 *
 * @author fgh
 */
public class StatsTag {


    public static final String GREEN_CLAIM_COUNT = "greenPlotClaimCount";

    public static final String GREEN_BROWSE_COUNT = "greenBrowseCount";

    public static final String JOB_BROWSE_COUNT = "jobBrowseCount";

    public static final String JOB_WANTED_BROWSE_COUNT = "jobWantedBrowseCount";

    public static final String HOUSE_COLLECT_COUNT = "houseCollectCount";

    public static final String HOUSE_BROWSE_COUNT = "houseBrowseCount";

    public static final String GOODS_BROWSE_COUNT = "goodsBrowseCount";

    public static final String LAND_RESOURCE_BROWSE_COUNT = "landResourceBrowseCount";

    public static final String LAND_PUBLICITY_BROWSE_COUNT = "landPublicityBrowseCount";

    public static final String POND_RESOURCE_BROWSE_COUNT = "pondResourceBrowseCount";

    public static final String POND_PUBLICITY_BROWSE_COUNT = "pondPublicityBrowseCount";

    public static final String MOUNTAIN_RESOURCE_BROWSE_COUNT = "mountainResourceBrowseCount";

    public static final String MOUNTAIN_PUBLICITY_BROWSE_COUNT = "mountainPublicityBrowseCount";

    public static final String HOUSE_COLLECT_RECORD = "houseCollectRecord";  //收藏详细记录

    public static final String CREATOR_AUDIT_WAIT_COUNT = "auditWaitCount";

    public static final String CREATOR_AUDIT_SUCCESS_COUNT = "auditSuccessCount";

    public static final String CREATOR_AUDIT_FAILED_COUNT = "auditFailedCount";

    private static final Set<String> AUDITS = new HashSet<>();

    static {
        AUDITS.add(CREATOR_AUDIT_WAIT_COUNT);
        AUDITS.add(CREATOR_AUDIT_SUCCESS_COUNT);
        AUDITS.add(CREATOR_AUDIT_FAILED_COUNT);
    }

    public static boolean isAudit(String statsId) {
        return AUDITS.contains(statsId);
    }
}
